CatalogX\Core\QuoteCart S

Total Complexity 47
Dependencies 1
Dependents 1
Total lines 241
Lines of code 178
Logical lines of code 101
Comment lines 16
Methods 19
Properties 3

Methods 19

Method Rating Maintainability Complexity Lines of code
add_to_quote_action()
A
46 11 38
add_cart_item()
S
54 4 22
update_cart()
S
60 4 15
maybe_set_cart_cookies()
S
60 4 14
exists_in_cart()
S
61 3 12
set_cart_cookies()
S
63 3 10
set_session()
S
70 3 6
quote_session_start()
S
68 2 7
quote_cron_schedule()
S
73 2 5
remove_cart()
S
65 2 10
unset_session()
S
81 1 3
clean_session()
S
75 1 4
get_quote_cart_session()
S
76 1 4
init_callback()
S
75 1 5
get_cart_data()
S
82 1 3
get_request_quote_page_url()
S
72 1 5
is_empty_cart()
S
80 1 3
clear_cart()
S
76 1 4
__construct()
S
66 1 8